package edu.upc.clase.demo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author gian
 */
@Controller("homeController")
public class HomeController {

    private static Logger log = LoggerFactory.getLogger(HomeController.class);

    @RequestMapping("/home/index")
    public ModelAndView index() {
        ModelAndView mav = new ModelAndView("home");
        return mav;
    }
    
    @RequestMapping("/home/quienes")
    public ModelAndView quienes() {
        ModelAndView mav = new ModelAndView("quienes");
        return mav;
    }    
    
    @RequestMapping("/home/local")
    public ModelAndView local() {
        ModelAndView mav = new ModelAndView("local");
        return mav;
    }   
    
    @RequestMapping("/home/servicios")
    public ModelAndView servicios() {
        ModelAndView mav = new ModelAndView("servicios");
        return mav;
    }   }   